/**
 * (created at 2011-2-18)
 */
package qiushuo.mysqlparser.ast.statement;

import qiushuo.mysqlparser.generator.SQLType;

/**
 * @author <a href="mailto:QiuShuo1985@gmail.com">QIU Shuo</a>
 */
public class MTLStartTransactionStatement implements Statement {
    private final boolean withConsistentSnapshot;

    public MTLStartTransactionStatement(boolean withConsistentSnapshot) {
        super();
        this.withConsistentSnapshot = withConsistentSnapshot;
    }

    public boolean isWithConsistentSnapshot() {
        return withConsistentSnapshot;
    }

    @Override
    public String generateSql(SQLType type) {
        // QS_TODO gen sql
        throw new UnsupportedOperationException("not implemented yet");
    }
}
